package net.sxnic.jhitem.itemprincipal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.Table;

import net.sxinfo.core.entity.AbstractEntity;

import org.hibernate.annotations.BatchSize;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;


@Entity
@Table(name = "jh_item_principal")
@BatchSize(size = 10)
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class ItemPrincipal extends AbstractEntity {
	
	private static final long serialVersionUID = 1L;
	

	//columns START
	// 姓名
	@Column(length=50)
	private String chinName;
	private String chinName1;
	// 性别
	@Column(length=20)
	private String sex;
	// 出生年月
	@Column(length=10)
	private String born;
	// 技术职称
	@Column(length=20)
	private String techTitle;
	// 身份证
	@Column(length=50)
	private String idcard;
	// 最高学位
	@Column(length=20)
	private String highestOffer;
	// 取得时间
	@Column(length=10)
	private String offerTime;
	// 毕业院校
	private String graduate;
	// 毕业年份
	@Column(length=10)
	private String graduateYear;
	// 专业
	private String specialty;
	// 联系电话
	@Column(length=50)
	private String phone;
	// 手机
	@Column(length=50)
	private String mobile;
	// 电子邮件
	@Column(length=50)
	private String email;
	// 工作单位
	private String unit;
	// 职务
	@Column(length=50)
	private String duty;
	// 单位地址
	private String address;
	// 单位邮编
	@Column(length=20)
	private String postcode;
	// 主要成果及承担科技计划项目情况
	@Lob
	@Column(nullable = true, length = 16777216)
	private String achievements;
	// 负责人类别(item,technical)
	@Column(length=20)
	private String principalType;
	// 毕业开始时间
	@Column(length=10)
	private String graduateStime;
	// 毕业结束时间
	@Column(length=10)
	private String graduateEtime;
	// 毕业学位
	@Column(length=20)
	private String educateDegree;
	// 毕业院校1
	private String graduate1;
	// 毕业1开始时间
	@Column(length=10)
	private String graduate1Stime;
	// 毕业1结束时间
	@Column(length=10)
	private String graduate1Etime;
	// 毕业1学位
	@Column(length=20)
	private String graduate1Degree;
	// 专业1
	private String specialty1;
	// 留学或进修情况—国别
	@Column(length=50)
	private String foreignCountry;
	// 留学或进修情况—单位
	private String foreignUnit;
	// 留学或进修情况—时间
	@Column(length=10)
	private String foreignTime;
	// 留学或进修情况—专业
	private String foreignSpecialty;
	// 与主表关联
	@Column(length=50)
	private String baseinfoId;
	//columns END

	
	public ItemPrincipal()
	{
		super();
	}
	
	public String getChinName() {
		return this.chinName;
	}
	
	public void setChinName(String value) {
		this.chinName = value;
	}
	
	public String getSex() {
		return this.sex;
	}
	
	public void setSex(String value) {
		this.sex = value;
	}
	
	public String getBorn() {
		return this.born;
	}
	
	public void setBorn(String value) {
		this.born = value;
	}
	
	public String getTechTitle() {
		return this.techTitle;
	}
	
	public void setTechTitle(String value) {
		this.techTitle = value;
	}
	
	public String getIdcard() {
		return this.idcard;
	}
	
	public void setIdcard(String value) {
		this.idcard = value;
	}
	
	public String getHighestOffer() {
		return this.highestOffer;
	}
	
	public void setHighestOffer(String value) {
		this.highestOffer = value;
	}
	
	public String getOfferTime() {
		return this.offerTime;
	}
	
	public void setOfferTime(String value) {
		this.offerTime = value;
	}
	
	public String getGraduate() {
		return this.graduate;
	}
	
	public void setGraduate(String value) {
		this.graduate = value;
	}
	
	public String getGraduateYear() {
		return this.graduateYear;
	}
	
	public void setGraduateYear(String value) {
		this.graduateYear = value;
	}
	
	public String getSpecialty() {
		return this.specialty;
	}
	
	public void setSpecialty(String value) {
		this.specialty = value;
	}
	
	public String getPhone() {
		return this.phone;
	}
	
	public void setPhone(String value) {
		this.phone = value;
	}
	
	public String getMobile() {
		return this.mobile;
	}
	
	public void setMobile(String value) {
		this.mobile = value;
	}
	
	public String getEmail() {
		return this.email;
	}
	
	public void setEmail(String value) {
		this.email = value;
	}
	
	public String getUnit() {
		return this.unit;
	}
	
	public void setUnit(String value) {
		this.unit = value;
	}
	
	public String getDuty() {
		return this.duty;
	}
	
	public void setDuty(String value) {
		this.duty = value;
	}
	
	public String getAddress() {
		return this.address;
	}
	
	public void setAddress(String value) {
		this.address = value;
	}
	
	public String getPostcode() {
		return this.postcode;
	}
	
	public void setPostcode(String value) {
		this.postcode = value;
	}
	
	public String getAchievements() {
		return this.achievements;
	}
	
	public void setAchievements(String value) {
		this.achievements = value;
	}
	
	public String getPrincipalType() {
		return this.principalType;
	}
	
	public void setPrincipalType(String value) {
		this.principalType = value;
	}
	
	public String getGraduateStime() {
		return this.graduateStime;
	}
	
	public void setGraduateStime(String value) {
		this.graduateStime = value;
	}
	
	public String getGraduateEtime() {
		return this.graduateEtime;
	}
	
	public void setGraduateEtime(String value) {
		this.graduateEtime = value;
	}
	
	public String getEducateDegree() {
		return this.educateDegree;
	}
	
	public void setEducateDegree(String value) {
		this.educateDegree = value;
	}
	
	public String getGraduate1() {
		return this.graduate1;
	}
	
	public void setGraduate1(String value) {
		this.graduate1 = value;
	}
	
	public String getGraduate1Stime() {
		return this.graduate1Stime;
	}
	
	public void setGraduate1Stime(String value) {
		this.graduate1Stime = value;
	}
	
	public String getGraduate1Etime() {
		return this.graduate1Etime;
	}
	
	public void setGraduate1Etime(String value) {
		this.graduate1Etime = value;
	}
	
	public String getGraduate1Degree() {
		return this.graduate1Degree;
	}
	
	public void setGraduate1Degree(String value) {
		this.graduate1Degree = value;
	}
	
	public String getForeignCountry() {
		return this.foreignCountry;
	}
	
	public void setForeignCountry(String value) {
		this.foreignCountry = value;
	}
	
	public String getForeignUnit() {
		return this.foreignUnit;
	}
	
	public void setForeignUnit(String value) {
		this.foreignUnit = value;
	}
	
	public String getForeignTime() {
		return this.foreignTime;
	}
	
	public void setForeignTime(String value) {
		this.foreignTime = value;
	}
	
	public String getForeignSpecialty() {
		return this.foreignSpecialty;
	}
	
	public void setForeignSpecialty(String value) {
		this.foreignSpecialty = value;
	}
	
	public String getBaseinfoId() {
		return this.baseinfoId;
	}
	
	public void setBaseinfoId(String value) {
		this.baseinfoId = value;
	}

	public String getSpecialty1() {
		return specialty1;
	}

	public void setSpecialty1(String specialty1) {
		this.specialty1 = specialty1;
	}
	public String getChinName1() {
		return chinName;
	}
	
}

